package com.mtt.erp.file;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Auther: SJZ    2907374717@qq.com
 * @Date: 2019/5/31 13:48
 * @Description:
 */
@Component
@Getter
public class FileConfig {
    /**
     * 商品访问前缀
     */
    public static String goodImageDomain;
    @Value("${goods.image.domainName}")
    public void setGoodImageDomain(String goodImageDomain){
        FileConfig.goodImageDomain=goodImageDomain;
    }
}
